package Packaged;

import java.awt.*;

public class Packagedwater {
    private String name; //矿泉水名称
    private String dosing; // 矿泉水配料
    private double  price; //单价
    private int content; //净含量

    // 构造方法

    public Packagedwater(String name,String dosing,double price,int content){
        this.name=name;
        this.dosing=dosing;
        this.price=price;
        this.content=content;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getDosing() {
        return dosing;
    }
    public void setDosing(String dosing) {
        this.dosing = dosing;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getContent() {
        return content;
    }
    public void setContent(int content) {
        this.content = content;
    }
}
